package com.jcsz.gulimall.product.feign;

import com.jcsz.common.to.es.SkuEsModel;
import com.jcsz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @className: ProductSaveService
 * @author: 一把Po吉他
 * @date: 2022/10/30 19:08
 * @version: 1.0
 **/
@FeignClient(value = "gulimall-search")
public interface ProductSaveService {

    @PostMapping("/search/save/product")
    R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
